<%-- 
    Document   : template
    Created on : Dec 30, 2011, 11:37:25 PM
    Author     : manish
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib uri = "http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <link rel="stylesheet" href="resources/css/BrightSide.css" type="text/css" />
    <link rel="stylesheet" href="resources/css/prettyPhoto.css" type="text/css" />

    <script type="text/javascript" src="resources/js/lib/jquery/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="resources/js/lib/atmosphere/jquery.atmosphere.js"></script>
    <script type="text/javascript" src="resources/js/lib/jquery/jquery.mousewheel.min.js"></script>
    <script type="text/javascript" src="resources/js/lib/jquery/jquery.prettyPhoto.js"></script>
    <script type="text/javascript" src="resources/js/atmosphereClient.js"></script>
    <script type="text/javascript" src="resources/js/imageFunctions.js"></script>

    <tiles:insertAttribute name="import"/>

    <title><tiles:insertAttribute name="title"/></title>
</head>
<body>
<!-- wrap starts here -->
<div id="wrap">
    <tiles:insertAttribute name="header" />
    <!-- content-wrap starts here -->
    <div id="content-wrap">
        <tiles:insertAttribute name="sidebar" />
        <div id="main">
            <div class="tabstyle">
                <a href="/norsemanserver/home?routeId=<c:out value="${routeId}"/>">Feed</a> | <a href="/norsemanserver/map?routeId=<c:out value="${routeId}"/>">Map</a>
            </div>
            <tiles:insertAttribute name="main" />
        </div>
        <tiles:insertAttribute name="rightbar" />
    </div>
    <tiles:insertAttribute name="footer" />
    <!-- footer ends here -->
    <!-- wrap ends here -->
</div>
<script type="text/javascript" charset="utf-8">
    $(document).ready(function(){
        $("a[rel^='prettyPhoto']").prettyPhoto();
    });
</script>
</body>
</html>

